package com.example.smart_campus.dao;

import com.example.smart_campus.pojo.entity.CourseSelection;
import com.example.smart_campus.pojo.entity.Courses;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 课程表，存储课程的基本信息 Mapper 接口
 * </p>
 *
 * @author liyv
 * @since 2024-10-19
 */
@Mapper
public interface CoursesMapper  {


    void  insertCourse(String courseNo, String courseName, float credits, Integer teacherId, String courseIntroduction);
    void  updateCourse(Courses courses);
   List<CourseSelection> chosenCourse(Integer studentId);
  //  List<Courses> getSelectCourses();
    //void  insertSelect(Integer courseId, Integer studentsId );
   // List<CourseSelection> getChosen(Integer courseId);  //
}
